/**
 * ===========================================================================
 * 版权所有 湖南免了么网络科技有限公司，并保留所有权利。
 * 网站地址: http://www.mianle.me
 * ===========================================================================
 * 15:38 2018/6/26
 */
package com.mianle.userapi.service.task05;

import com.mianle.userapi.mapper.GaodeMapper;
import com.mianle.userapi.model.Gaode;

import java.util.Date;

/**
 * @Author: yiyuan
 * @Description: 任务
 * @Date: Created in 15:38 2018/6/26
 *
 */
public class TaskRun implements Runnable {

    private GaoServer gaoServer;

    public TaskRun(GaoServer gaoServer) {
        this.gaoServer = gaoServer;
    }

    @Override
    public void run() {
        System.out.println("时间：" + new Date());
        String s = null;
        gaoServer.save(s);
    }
}
